package com.yx.system.service.impl;

import com.yx.system.dao.TbKwordGuaranteeDao;
import com.yx.system.entity.TbKwordGuarantee;
import com.yx.system.service.TbKwordGuaranteeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class TbKwordGuaranteeServiceImpl implements TbKwordGuaranteeService {
	@Autowired
	private TbKwordGuaranteeDao kwordGuaranteeDao;
	
	@Override
	public TbKwordGuarantee queryObject(Integer id){
		return kwordGuaranteeDao.queryObject(id);
	}
	
	@Override
	public List<TbKwordGuarantee> queryList(Map<String, Object> map){
		return kwordGuaranteeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return kwordGuaranteeDao.queryTotal(map);
	}
	
	@Override
	public void save(TbKwordGuarantee kwordGuarantee){
		kwordGuaranteeDao.save(kwordGuarantee);
	}
	
	@Override
	public void update(TbKwordGuarantee kwordGuarantee){
		kwordGuaranteeDao.update(kwordGuarantee);
	}
	
	@Override
	public void delete(Integer id){
		kwordGuaranteeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		kwordGuaranteeDao.deleteBatch(ids);
	}

	@Override
	public List<TbKwordGuarantee> findAll() {
		return kwordGuaranteeDao.findAll();
	}

}
